import { getHttp } from "../common/http";
export async function getCourseChapter(upId: string) {
  const http = getHttp();
  return await http(`course-chapter/${upId}`, {
    method: "get",
  });
}
export async function getNextChapter(chapterId: string) {
  const http = getHttp();
  return await http(`course-chapter/next/${chapterId}`, {
    method: "get",
  });
}
